package com.shaoyu.elasticsearch;

import com.shaoyu.elasticsearch.entity.ElasticsearchIndex;
import com.shaoyu.elasticsearch.service.ElasticSearchIndexService;
import com.shaoyu.elasticsearch.util.BeanUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

@SpringBootApplication
@ImportResource(locations = {"classpath:spring-application-all.xml"})
public class StartApplication {

    public static void main(String[] args) {
        SpringApplication.run(StartApplication.class, args);
    }
}